In estimation theory and decision theory, a Bayes estimator or a Bayes action is an estimator or decision rule that minimizes the posterior expected value of a loss function (i.e., the posterior expected loss). Equivalently, it maximizes the posterior expectation of a utility function. An alternative way of formulating an estimator within Bayesian statistics is Maximum a posteriori estimation.
Contents |
Suppose an unknown parameter θ is known to have a prior distribution . Let be an estimator of θ (based on some measurements x), and let be a loss function, such as squared error. The Bayes risk of is defined as , where the expectation is taken over the probability distribution of : this defines the risk function as a function of . An estimator is said to be a Bayes estimator if it minimizes the Bayes risk among all estimators. Equivalently, the estimator which minimizes the posterior expected loss for each x also minimizes the Bayes risk and therefore is a Bayes estimator.[1]
If the prior is improper then an estimator which minimizes the posterior expected loss for each x is called a generalized Bayes estimator.[2]
The most common risk function used for Bayesian estimation is the mean square error (MSE), also called squared error risk. The MSE is defined by
where the expectation is taken over the joint distribution of and .
Using the MSE as risk, the Bayes estimate of the unknown parameter is simply the mean of the posterior distribution,
This is known as the minimum mean square error (MMSE) estimator. The Bayes risk, in this case, is the posterior variance.
If there is no inherent reason to prefer one prior probability distribution over another, a conjugate prior is sometimes chosen for simplicity. A conjugate prior is defined as a prior distribution belonging to some parametric family, for which the resulting posterior distribution also belongs to the same family. This is an important property, since the Bayes estimator, as well as its statistical properties (variance, confidence interval, etc.), can all be derived from the posterior distribution.
Conjugate priors are especially useful for sequential estimation, where the posterior of the current measurement is used as the prior in the next measurement. In sequential estimation, unless a conjugate prior is used, the posterior distribution typically becomes more complex with each added measurement, and the Bayes estimator cannot usually be calculated without resorting to numerical methods.
Following are some examples of conjugate priors.
Risk functions are chosen depending on how one measures the distance between the estimate and the unknown parameter. The MSE is the most common risk function in use, primarily due to its simplicity. However, alternative risk functions are also occasionally used. The following are several examples of such alternatives. We denote the posterior generalized distribution function by .
Other loss functions can be conceived, although the mean squared error is the most widely used and validated.
The prior distribution has thus far been assumed to be a true probability distribution, in that
However, occasionally this can be a restrictive requirement. For example, there is no distribution (covering the set, R, of all real numbers) for which every real number is equally likely. Yet, in some sense, such a "distribution" seems like a natural choice for a non-informative prior, i.e., a prior distribution which does not imply a preference for any particular value of the unknown parameter. One can still define a function , but this would not be a proper probability distribution since it has infinite mass,
Such measures , which are not probability distributions, are referred to as improper priors.
The use of an improper prior means that the Bayes risk is undefined (since the prior is not a probability distribution and we cannot take an expectation under it). As a consequence, it is no longer meaningful to speak of a Bayes estimator that minimizes the Bayes risk. Nevertheless, in many cases, one can define the posterior distribution
This is a definition, and not an application of Bayes' theorem, since Bayes' theorem can only be applied when all distributions are proper. However, it is not uncommon for the resulting "posterior" to be a valid probability distribution. In this case, the posterior expected loss
is typically well-defined and finite. Recall that, for a proper prior, the Bayes estimator minimizes the posterior expected loss. When the prior is improper, an estimator which minimizes the posterior expected loss is referred to as a generalized Bayes estimator.[2]
A typical example concerns the estimation of a location parameter with a loss function of the type . Here is a location parameter, i.e., .
It is common to use the improper prior in this case, especially when no other more subjective information is available. This yields
so the posterior expected loss equals
The generalized Bayes estimator is the value which minimizes this expression for all . This is equivalent to minimizing
It can be shown that, in this case, the generalized Bayes estimator has the form , for some constant . To see this, let be the value minimizing (1) when . Then, given a different value , we must minimize
This is identical to (1), except that has been replaced by . Thus, the expression minimizing is given by , so that the optimal estimator has the form
A Bayes estimator derived through the empirical Bayes method is called an empirical Bayes estimator. Empirical Bayes methods enable the use of auxiliary empirical data, from observations of related parameters, in the development of a Bayes estimator. This is done under the assumption that the estimated parameters are obtained from a common prior. For example, if independent observations of different parameters are performed, then the estimation performance of a particular parameter can sometimes be improved by using data from other observations.
There are parametric and non-parametric approaches to empirical Bayes estimation. Parametric empirical Bayes is usually preferable since it is more applicable and more accurate on small amounts of data.[3]
The following is a simple example of parametric empirical Bayes estimation. Given past observations having conditional distribution , one is interested in estimating based on . Assume that the 's have a common prior which depends on unknown parameters. For example, suppose that is normal with unknown mean and variance We can then use the past observations to determine the mean and variance of in the following way.
First, we estimate the mean and variance of the marginal distribution of using the maximum likelihood approach:
Next, we use the relation
where and are the moments of the conditional distribution , which are assumed to be known. In particular, suppose that and that ; we then have
Finally, we obtain the estimated moments of the prior,
For example, if , and if we assume a normal prior (which is a conjugate prior in this case), we conclude that , from which the Bayes estimator of based on can be calculated.
Bayes rules having finite Bayes risk are typically admissible. The following are some specific examples of admissibility theorems.
By contrast, generalized Bayes rules often have undefined Bayes risk in the case of improper priors. These rules are often inadmissible and the verification of their admissibility can be difficult. For example, the generalized Bayes estimator of a location parameter θ based on Gaussian samples (described in the "Generalized Bayes estimator" section above) is inadmissible for ; this is known as Stein's phenomenon.
Let θ be an unknown random variable, and suppose that are iid samples with density . Let be a sequence of Bayes estimators of θ based on an increasing number of measurements. We are interested in analyzing the asymptotic performance of this sequence of estimators, i.e., the performance of for large n.
To this end, it is customary to regard θ as a deterministic parameter whose true value is . Under specific conditions,[5] for large samples (large values of n), the posterior density of θ is approximately normal. In other words, for large n, the effect of the prior probability on the posterior is negligible. Moreover, if δ is the Bayes estimator under MSE risk, then it is asymptotically unbiased and it converges in distribution to the normal distribution:
where I(θ0) is the fisher information of θ0. It follows that the Bayes estimator δn under MSE is asymptotically efficient.
Another estimator which is asymptotically normal and efficient is the maximum likelihood estimator (MLE). The relations between the maximum likelihood and Bayes estimators can be shown in the following simple example.
Consider the estimator of θ based on binomial sample x~b(θ,n) where θ denotes the probability for success. Assuming θ is distributed according to the conjugate prior, which in this case is the Beta distribution B(a,b), the posterior distribution is known to be B(a+x,b+n-x). Thus, the Bayes estimator under MSE is
The MLE in this case is x/n and so we get,
The last equation implies that, for n → ∞, the Bayes estimator (in the described problem) is close to the MLE.
On the other hand, when n is small, the prior information is still relevant to the decision problem and affects the estimate. To see the relative weight of the prior information, assume that a=b; in this case each measurement brings in 1 new bit of information; the formula above shows that the prior information has the same weight as a+b bits of the new information. In applications, one often knows very little about fine details of the prior distribution; in particular, there is no reason to assume that it coincides with B(a,b) exactly. In such a case, one possible interpretation of this calculation is: "there is a non-pathological prior distribution with the mean value 0.5 and the standard deviation d which gives the weight of prior information equal to 1/(4d2)-1 bits of new information."
For many years, the Internet Movie Database has used a formula for calculating the Top Rated 250 Titles which is claimed to give "a true Bayesian estimate"[6]:
where:
for the Top 250, only votes from regular voters are considered.
Comparing this formula with one in the preceding section, one can see that m must have been related to the relative weight of the prior information in units of the new information given by one vote. Hence C must be the mean vote across the movies with more than 3000 votes, and m should be related to the deviation of votes in this pool.
For example, assume that a new vote brings in about 2 bits of information (one bit for above/below average, and 1 bit for "how far from average is the vote" - so this assumes that votes are close to the average, but not very close). Then having m=3000 corresponds to prior information weighting 6000 bits. To illustrate to which kind of prior distribution such a giant weight might correspond, consider again the distribution of the preceding section (it is related to a very different process of measurement, but the order of magnitude should be close); then 6000 bits correspond to d about 1/155 of the possible range (1 to 10), or 1/17.
Needless to say that such a small deviation is absurd - the minimal possible deviation given integer values and the average of 6.9 is 0.3. For example, if the actual deviation is about 0.7, this corresponds to the prior information weighting close to 40 bits, and m being about 20. Of course, with such a small value for m, the formula above becomes practically indistinguishable from the common-sense formula W=R expected with such a high entrance threshold as having 3000 votes.
|